<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/lottery_log_header_credit}

	<div class="result game-{$data['ptid']}">
		<div class="link_tab link_gd">
			<a data-bind="click:tabnav.bind($data,'Tema-tpl','a'),css:'btn '+(css()=='a'?'btn-blue':'')" href="#">特码</a>
			<a data-bind="click:tabnav.bind($data,'Zhengma-tpl','b'),css:'btn '+(css()=='b'?'btn-blue':'')" href="#">正码1-7</a>
			<a data-bind="click:tabnav.bind($data,'Longhu-tpl','c'),css:'btn '+(css()=='c'?'btn-blue':'')" href="#">龙虎斗</a>
		</div>
		<div class="result_in shadow" data-bind="template:{name:tpl,data:listItem}"></div>
		<input type="hidden" id="pageIndex" value="1" />
	</div>
	
	<script type="text/html" id="Tema-tpl">
		<table class="table-list" border="1" cellspacing="0" cellpadding="0" width="100%">
			<thead>
				<tr>
					<th rowspan="2">期数<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th rowspan="2">开奖时间<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th colspan="8">彩球号码<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th rowspan="2">总和<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th rowspan="2">总单双<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th rowspan="2">总大小<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th rowspan="2">总尾大小<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th colspan="4">特码<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
					<th colspan="2">上下奇偶<i class="fl_bd"></i><i class="fr_bd"></i><i class="fb_bd"></i></th>
				</tr>
				<tr>
					<th align="center">正码一<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">正码二<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">正码三<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">正码四<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">正码五<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">正码六<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">正码七<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">特码<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">大小<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">单双<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">尾大小<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th align="center">合数单双<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>上下<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
					<th>奇偶<i class="fl_bd"></i><i class="fr_bd"></i><i class="ft_bd"></i></th>
				</tr>
			</thead>
			<tbody data-bind="foreach:$data">
				<tr>
					<td data-bind="text:period"></td>
					<td data-bind="text:date"></td>
					<!-- ko foreach:balls -->
					<td><span data-bind="text:$data,css:'b_12_3 b_'+$data"></span></td>
					<!-- /ko -->
					<td data-bind="text:sum"></td>
					<td data-bind="html:sumOddEven"></td>
					<td data-bind="html:sumBigSmall"></td>
					<td data-bind="html:lastBigSmall"></td>
					<td data-bind="html:specialBigSmall"></td>
					<td data-bind="html:specialOddEven"></td>
					<td data-bind="html:specialLastBigSmall"></td>
					<td data-bind="html:specialCombSum"></td>
					<td data-bind="html:upDown"></td>
					<td data-bind="html:oddEven"></td>
				</tr>
			</tbody>
		</table>
	</script>

	<script type="text/html" id="Longhu-tpl">
		<table class="table-list" border="1" cellspacing="0" cellpadding="0" width="100%">
			<thead>
				<tr>
					<th rowspan="2">期数</th>
					<th rowspan="2">开奖时间</th>
					<th rowspan="2">彩球号码</th>
					<th colspan="28">龙虎斗</th>
				</tr>
				<tr>
					<th align="center">1V2</th>
					<th align="center">1V3</th>
					<th align="center">1V4</th>
					<th align="center">1V5</th>
					<th align="center">1V6</th>
					<th align="center">1V7</th>
					<th align="center">1V特</th>
					<th align="center">2V3</th>
					<th align="center">2V4</th>
					<th align="center">2V5</th>
					<th align="center">2V6</th>
					<th align="center">2V7</th>
					<th align="center">2V特</th>
					<th align="center">3V4</th>
					<th align="center">3V5</th>
					<th align="center">3V6</th>
					<th align="center">3V7</th>
					<th align="center">3V特</th>
					<th align="center">4V5</th>
					<th align="center">4V6</th>
					<th align="center">4V7</th>
					<th align="center">4V特</th>
					<th align="center">5V6</th>
					<th align="center">5V7</th>
					<th align="center">5V特</th>
					<th align="center">6V7</th>
					<th align="center">6V特</th>
					<th align="center">7V特</th>
				</tr>
			</thead>
			<tbody data-bind="foreach:$data">
				<tr>
					<td data-bind="text:period"></td>
					<td data-bind="text:date"></td>
					<td data-bind="foreach:balls">
						<span data-bind="text:$data,css:'b_12_3 b_'+$data "></span>
					</td>
					<td data-bind="html:pk(1,2)"></td>
					<td data-bind="html:pk(1,3)"></td>
					<td data-bind="html:pk(1,4)"></td>
					<td data-bind="html:pk(1,5)"></td>
					<td data-bind="html:pk(1,6)"></td>
					<td data-bind="html:pk(1,7)"></td>
					<td data-bind="html:pk(1,8)"></td>
					<td data-bind="html:pk(2,3)"></td>
					<td data-bind="html:pk(2,4)"></td>
					<td data-bind="html:pk(2,5)"></td>
					<td data-bind="html:pk(2,6)"></td>
					<td data-bind="html:pk(2,7)"></td>
					<td data-bind="html:pk(2,8)"></td>
					<td data-bind="html:pk(3,4)"></td>
					<td data-bind="html:pk(3,5)"></td>
					<td data-bind="html:pk(3,6)"></td>
					<td data-bind="html:pk(3,7)"></td>
					<td data-bind="html:pk(3,8)"></td>
					<td data-bind="html:pk(4,5)"></td>
					<td data-bind="html:pk(4,6)"></td>
					<td data-bind="html:pk(4,7)"></td>
					<td data-bind="html:pk(4,8)"></td>
					<td data-bind="html:pk(5,6)"></td>
					<td data-bind="html:pk(5,7)"></td>
					<td data-bind="html:pk(5,8)"></td>
					<td data-bind="html:pk(6,7)"></td>
					<td data-bind="html:pk(6,8)"></td>
					<td data-bind="html:pk(7,8)"></td>
				</tr>
			</tbody>
		</table>
	</script>

	<script type="text/html" id="Zhengma-tpl">
		<table class="table-list" border="1" cellspacing="0" cellpadding="0" width="100%">
			<thead>
				<tr>
					<th rowspan="2">期数</th>
					<th rowspan="2">开奖时间</th>
					<th colspan="5">正码一</th>
					<th colspan="5">正码二</th>
					<th colspan="5">正码三</th>
					<th colspan="5">正码四</th>
					<th colspan="5">正码五</th>
					<th colspan="5">正码六</th>
					<th colspan="5">正码七</th>
				</tr>
				<tr>
						<th align="center">球号</th>
						<th align="center">大小</th>
						<th align="center">单双</th>
						<th align="center">合单双</th>
						<th align="center">尾大小</th>
						<th align="center">球号</th>
						<th align="center">大小</th>
						<th align="center">单双</th>
						<th align="center">合单双</th>
						<th align="center">尾大小</th>
						<th align="center">球号</th>
						<th align="center">大小</th>
						<th align="center">单双</th>
						<th align="center">合单双</th>
						<th align="center">尾大小</th>
						<th align="center">球号</th>
						<th align="center">大小</th>
						<th align="center">单双</th>
						<th align="center">合单双</th>
						<th align="center">尾大小</th>
						<th align="center">球号</th>
						<th align="center">大小</th>
						<th align="center">单双</th>
						<th align="center">合单双</th>
						<th align="center">尾大小</th>
						<th align="center">球号</th>
						<th align="center">大小</th>
						<th align="center">单双</th>
						<th align="center">合单双</th>
						<th align="center">尾大小</th>
						<th align="center">球号</th>
						<th align="center">大小</th>
						<th align="center">单双</th>
						<th align="center">合单双</th>
						<th align="center">尾大小</th>
				</tr>
			</thead>
			<tbody data-bind="foreach:$data">
				<tr>
					<td align="center" data-bind="html:period"></td>
					<td align="center" data-bind="html:date"></td>
					<!-- ko foreach:balls.slice(0,-1)-->
					<td><span data-bind="text:$data,css:'b_12_3 b_'+$data"></span></td>
					<td data-bind="html:$parent.OneBigSmall($data)"></td>
					<td data-bind="html:$parent.OneOddEven($data)"></td>
					<td data-bind="html:$parent.OneCombOddEven($data)"></td>
					<td data-bind="html:$parent.OneLastBigSmall($data)"></td>
					<!-- /ko -->
				</tr>
			</tbody>
		</table>
	</script>
	
{template index/lottery_log_footer_credit}